﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css" />

@model PessModel.GradeRule

@{
    ViewBag.Title = "Delete";
}
<style>
    .show .display-label {
        width:220px;
    }
</style>
<div id="m-title">
    <h2>删除等第规则</h2>
    <div id="m-op">@Html.ActionLink("返回", "Details", new { subjectID = Model.SubjectID })</div>
</div>

<fieldset class="show">
 
    <div class="display-label">
        @*@Html.DisplayNameFor(model => model.CountyCode)*@名称：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
    <div class="display-label">
        @*@Html.DisplayNameFor(model => model.CountyCode)*@描述：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
    <div class="display-label">
        @*@Html.DisplayNameFor(model => model.CountyCode)*@最高占比：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Percentage)
    </div>
    <div class="display-label">
        @*@Html.DisplayNameFor(model => model.CountyCode)*@是否检验：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ValidationRequired)
    </div>
    <div class="display-label">
        @*@Html.DisplayNameFor(model => model.CountyCode)*@所属类别：
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Subject.Name)
    </div>

 </fieldset>
@using (Html.BeginForm())
{
    <h3>如果该规则下已有等第记录，则不删除该规则。当前规则有 @Model.Grades.Count 等第记录。</h3>
    <h3>如果确定删除该档案，请点击&#8195;</h3>
    <div class="del_btn">
        <input type="submit" value="删除" class="u-btn u-btn-del" />
    </div>
    <h3>重要：一旦删除则不可恢复！</h3>
}
